package com.study.gupao.observer;

/**
 * @ClassName: Student
 * @Description:
 * @author: Administrator
 * @Date: 2019-03-18 14:45
 */
public class Student implements CreateEventer {
    /**
     * 提问的学生名字
     */
    private  String name;

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Question create(String question) {
        return new Question(this,question);
    }
}
